home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 July: Mac OS SDK / Dev.CD Jul 99 SDK1.toast / Development Kits / Mac OS / Apple Guide / Authoring / Standard Includes / Standard Setup < prev   
Encoding:
Text File  |  1994-09-30  |  20.5 KB  |  582 lines  |  [TEXT/ttxt]

  1. ######################################################################
  2. #                                                            
  3. #        File:          Standard Setup                
  4. #                                                            
  5. #        Contains:      Standard Guide Script commands for Apple Guide files
  6. #
  7. #  Coded by:      Glenn Katz    and Shemin Gau
  8. #
  9. #        Copyright:     ©1994 by Apple Computer, Inc.        
  10. #                                                            
  11. ######################################################################
  12.  
  13. ######################################################################
  14. #    How To Use This File
  15. ######################################################################
  16.  
  17. # This file contains the Guide Script commands needed to setup a guide
  18. # file that follows the Apple Guide HI guidelines.  
  19. #
  20. # This file is part a set of files that you will compile to create your
  21. # guide file.  You will also need:
  22. #
  23. # • Build File - a file that points to all of the related source files
  24. #                that define your guide file.
  25. #
  26. # • Content    - a file that contains the actual text that appears on
  27. #                the guide file panels.  (As your guide file grows, it
  28. #                may be helpful to break the Content file into several
  29. #                smaller files).
  30. #
  31. #    To use this file:
  32. #
  33. #  1.  Edit this file to customize the standard setup for your guide
  34. #      file.  Most of the commands in this file can be used "as is,"
  35. #      but you'll want to change the <Help Menu>, <Balloon Menu Text>,
  36. #     and  <Version> commands to reflect your application's name.
  37. #
  38. #  2.  Edit the Content file to define the content of your guide file.
  39. #
  40. #  3.  Use the Guide Maker Build utility to compile the Build File
  41. #      that points to all of the source files that define your guide
  42. #      file.
  43.  
  44.  
  45. ######################################################################
  46. #    Help Menu Appearance
  47. ######################################################################
  48.  
  49. #    First, you must specify how this guide file will appear in the Help
  50. # menu:  the menu item name, the guide file type, and the command
  51. # key shortcut for quickly opening this file.
  52.  
  53. <Help Menu>    "MyApplication Guide", HELP,"?"
  54.  
  55.  
  56.  
  57. # You can also specify the text that will appear when balloon help is
  58. # used on this Help menu item.
  59.  
  60. <Balloon Menu Text> "Displays information and instructions you can use while working in the MyApplication."
  61.  
  62.  
  63.  
  64. # If you want to restrict your guide file so that it only appears
  65. # in the Help menu for your application (and does not appear in the
  66. # Help menu for other applications located in the same folder), use
  67. # the following command.
  68.  
  69. # <App Creator> 'XXXX'
  70.  
  71.  
  72.  
  73. ######################################################################
  74. #    Access Window Attributes
  75. ######################################################################
  76.  
  77. # First, use this command to specify the type of window that Apple Guide 
  78. # should display when your guide file is first opened.
  79. #
  80. # Syntax:  <Startup Window> windowType , accessScreenOptions
  81. #
  82. # This command opens a Full access window (with three search modes - 
  83. # Topics, Index, and Look For) to a welcoming Howdy screen.
  84.  
  85. <Startup Window>    FULL, HOWDY
  86.  
  87. # These are some of the other alternatives:
  88.  
  89. # <Startup Window>    FULL, TOPICS
  90. # <Startup Window>    FULL, INDEX
  91. # <Startup Window>    FULL, LOOKFOR
  92. # <Startup Window>    SINGLE, HOWDY
  93. # <Startup Window>    SINGLE, TOPICS
  94. # <Startup Window> PRESENTATION
  95.  
  96.  
  97.  
  98. # If you specify a startup window that opens to Howdy screen, you must
  99. # also define the text that will be displayed on that screen.
  100.  
  101. <Howdy>        "Howdy Text"
  102.  
  103. <Define Text Block>    "Howdy Text"
  104. To start, click Topics, Index, or Look For. 
  105.  
  106. Topics shows general categories, and Index lists keywords. 
  107. Look For lets you search for help according to keywords you type.
  108. <End Text Block>
  109.  
  110.  
  111.  
  112. # You can also specify a PICT image to be displayed in the logo region
  113. # at the top left corner of the access window.  
  114. #
  115. # Color and B&W templates for the PICT image are included in the
  116. # Standard Resources file (at ID 501 & 502).  To include your PICT
  117. # image in the guide file, replace these resources (at ID 501 & 502)
  118. # in the Standard Resources file, or use this command: 
  119.  
  120. #<App Logo> colorLogoFilename, B&WLogoFilename  
  121.  
  122.  
  123.  
  124. ######################################################################
  125. #    Finder File Information
  126. ######################################################################
  127.  
  128. # The following command specifies the version strings that appear in
  129. # the Finder Get Info dialog for your guide file.
  130. #
  131. # Syntax:  <Version> longVers1BottomOfGetInfo, shortVers1ForFinderListViews
  132. #                    [, longVers2TopOfGetInfo]
  133.  
  134. <VERSION>    "MyApplication Guide 1.0 ©1994 MyCompany Inc.", "1.0"
  135.  
  136.  
  137.  
  138. ######################################################################
  139. #    Prompt Set Definitions
  140. ######################################################################
  141.  
  142. #    You can specify strings which appear at the bottom of each panel 
  143. # to prompt the user about how to proceed after reading it.   
  144. #
  145. # The following commands create the standard Apple Guide prompts
  146. # recommended in the HI guidelines and used in Macintosh Guide.
  147. #
  148. # Syntax:  <Define Prompt Set> promptSetName, promptFirstPanel,
  149. #                              promptMiddlePanel, promptLastPanel,
  150. #                              promptForPanelsWithControls
  151.  
  152. <Define Prompt Set>    "How Do I Prompts", "To begin, click the right arrow.", "Do this step, then click the right arrow.", "Do this step, then you’re done.", "Make your choice, then click the right arrow."
  153. <Define Prompt Set>    "Standard Prompts", "To continue, click the right arrow.", "To continue, click the right arrow.", "That's all, you're done.", "Make your choice, then click the right arrow."
  154.  
  155.  
  156.  
  157. # One prompt set can be designated the <Default Prompt Set>. This set will
  158. # be used for all panels, except when you override it by using the 
  159. # <Sequence Prompt Set> or <Panel Prompt> commands. 
  160.  
  161. <Default Prompt Set> "How Do I Prompts"
  162.  
  163.  
  164.  
  165. ######################################################################
  166. #    Navigation Bar Button Definitions
  167. ######################################################################
  168.  
  169. #    You can specify which buttons appear in the navigation bar for your
  170. # guide file and the event each button should trigger.
  171. #
  172. # The following commands create the standard Apple Guide navigation
  173. # bar buttons recommended in the HI guidelines. These commands use
  174. # PICT resources located in the Standard Resources file.
  175. #
  176. # Syntax:  <Define Nav Button> buttonName, buttonUpPict, buttonDownPict,
  177. #                              dimmedButtonPict, buttonEvent
  178. #                              [, b&wUp] [, b&wDown] [, b&wDimmed]
  179.  
  180.  
  181.  
  182. # The GoStart button returns the user to your guide file's access window 
  183.  
  184. <Define Nav Button>        "GoStart",1103,1113,1123,GoStart()
  185.  
  186.  
  187.  
  188. # The Huh? button opens another sequence containing additional information
  189. # to help the user proceed.  The Huh? button is activated on a panel by
  190. # including the <Huh> command in its panel definition.
  191.  
  192. <Define Nav Button>        "Huh?",1101,1111,1121,DIMMABLE
  193.  
  194.  
  195.  
  196. # For convenience, navigation bar buttons are grouped into named sets.
  197. # "Standard Nav Bar" includes the GoStart and Huh? buttons 
  198. #
  199. # Syntax:  <Define Nav Button Set> navButtonSetName    [, leftNavButton] 
  200. #                                 [, midNavButton] [, rightNavButton]
  201.  
  202. <Define Nav Button Set>        "Standard Nav Bar","GoStart","Huh?"
  203. <Define Nav Button Set>        "GoStart Only","GoStart"
  204. <Define Nav Button Set>        "Huh? Only","Huh?"
  205.  
  206.  
  207.  
  208. # One navigation button set can be designated the <Default Nav Button Set>.
  209. # This set will be used in all sequences, except when you override it
  210. # by including the <Sequence Nav Button Set> command in a sequence definition. 
  211.  
  212. <Default Nav Button Set>    "Standard Nav Bar"
  213.  
  214.  
  215.  
  216. ######################################################################
  217. #    Panel Format Definitions    
  218. ######################################################################
  219.  
  220. # You can use <Format> commands to control the text attributes and
  221. # placement of items on panels in your guide file.
  222. #
  223. # The following commands define the standard formats recommended in
  224. # in the Apple Guide HI guidelines. 
  225. #
  226. # Syntax:  <Define Format> formatName, columnCoords [, txFnt] [, txSize]
  227. #                          [, txStyle] [, txColor] [, txAlign] [, alignPrompt]
  228.  
  229.  
  230.  
  231. # The "Full" format uses the full panel width.  It should be used on panels 
  232. # that don't contain step-by-step instructions.
  233.  
  234. <Define Format>    "Full", Column(6,11,330), "Espy Serif", 10, PLAIN, ,Left, false
  235.     
  236.  
  237.  
  238. # The "Tag" and "Body" formats set up a two column layout.  The "Do This" tags
  239. # used extensively in Macintosh Guide use the "Tag" format.  The instructions
  240. # are placed with the "Body" format.
  241.  
  242. <Define Format>    "Tag", Column(6,0,54), "Espy Sans Bold", 10, PLAIN, ,Right, false
  243. <Define Format>    "Body", Column(6,65,330), "Espy Serif", 10, PLAIN, ,Left, true
  244.  
  245. #Note that "Tag", "Body", and "Full" specify PLAIN as the style of panel text
  246. #If you use styled text in your source file, then omit PLAIN. 
  247. #This is useful when using hot text. For example:
  248. <Define Format>    "Full2", Column(6,11,330), "Espy Serif", 10, , ,Left, false
  249.  
  250.  
  251. # The "ResetPen" format is useful for canceling the previous <Format> command
  252. # in a panel definition.  Use this format when placing objects using the
  253. # Point(x,y) function to specify panel coordinates.
  254.  
  255. <Define Format> "ResetPen",Column(0,0,330), , , , , , false
  256.  
  257.  
  258.  
  259. # One format can be designated as the Default format.  This format will
  260. # be used for all text in your guide file, except when you override it
  261. # by including another <Format>. 
  262.  
  263. <Default Format> "Full"
  264.  
  265.  
  266.  
  267. ######################################################################
  268. #    Panel Height Settings    
  269. ######################################################################
  270.  
  271. # You can specify a maximum panel height to ensure that some piece
  272. # of your application will always be visible beneath the panels.  If
  273. # the elements you include in a panel definition make it taller than
  274. # the maximum height, the content will automatically be split into
  275. # two or more panels.
  276.  
  277. <Max Height>    500
  278.  
  279.  
  280.  
  281. # Apple Guide panels automatically size themselves to be as small as
  282. # possible.  You may want to set both a minimum and maximum panel height
  283. # to keep the panels from resizing  (the Finder Shortcuts guide file 
  284. # uses this effect).  
  285.  
  286. # <Min Height> 300
  287. # <Max Height> 300
  288.  
  289.  
  290.  
  291. ######################################################################
  292. #    Event Definitions    
  293. ######################################################################
  294.  
  295. # You can use the <Define Event> command to define an event function 
  296. # for use with the following commands: <Standard Button>, <3D Button>, 
  297. # <Define Nav Button>, <On Panel Create>, <On Panel Destroy>, 
  298. # <On Panel Show>, and <On Panel Hide>.
  299. #
  300. # The following commands create the Apple Guide API events not built
  301. # into Guide Maker.  These events are used by the standard navigation
  302. # bar buttons.
  303. #
  304. # Syntax:  <Define Event> eventName, targetApp, eventClass, eventID
  305. #                               [, IOPTData] [, optKey] [, optData]
  306.  
  307. <Define Event>    "DoHuh", 's***', 'help', 'dhuh'
  308. <Define Event>    "GoBack", 's***', 'help', 'gobk'
  309. <Define Event>    "GoStart", 's***', 'help', 'stac'
  310.  
  311.  
  312.  
  313. ######################################################################
  314. #    Context Check Definitions
  315. ######################################################################
  316.  
  317. #    Context checks are used to dynamically adapt the sequence of panels
  318. # presented to match the context of the user.
  319. #
  320. # The following context check definitions are used in Macintosh Guide 
  321. # and may also be useful for your guide file.  These definitions use
  322. # external code modules located in the Standard Resources file.
  323. #
  324. # Syntax:  <Define Context Check> contextCheckName, codeResSpec [, targetApp] 
  325. #                                 [, additionalParam] [, additionalParam] 
  326. #                                                      [, ... ]
  327.  
  328. #============================================
  329. # From external code module 'SYST' (system)
  330. #============================================
  331.  
  332. # Checking if File Sharing is on or off
  333. #
  334. #     'SYST'--> system module
  335. #     'MACS'--> current application's signature
  336. #     LONG:6--> 6 for case isFileSharing in resource file
  337. #     LONG:0--> off; LONG:1--> on
  338.  
  339. <DCC>    "FileSharingOff", 'SYST', 'MACS', LONG:6, LONG:0
  340. <DCC>    "FileSharingOn", 'SYST', 'MACS', LONG:6, LONG:1
  341.  
  342.  
  343.  
  344. # Checking if Guess Access is off
  345. #
  346. #     'SYST'--> system module
  347. #     'MACS'--> current application's signature
  348. #     LONG:10--> 10 for case isGuessAccess in resource file
  349. #     LONG:0--> fill in words for fill byte
  350.  
  351. <DCC>    "GuestAccessOff", 'SYST', 'MACS', LONG:10, LONG:0
  352.  
  353.  
  354.  
  355. # Checking the bit depth of the monitor
  356. #
  357. #     LONG:8--> 8 for case isMonitorBitDepth in resource file
  358. #     LONG--> 4 for greater than the compared value
  359. #             6 for greater than or equal to the compared value
  360. #             2 for equal to the compared vale
  361. #     LONG--> compared value, you can specify a value here or in the real context check call
  362.  
  363. <DCC>    "BitDepthGreaterThan", 'SYST', 'MACS', LONG:8, LONG:4, LONG
  364. <DCC>    "BitDepthAtLeast", 'SYST', 'MACS', LONG:8, LONG:6, LONG
  365. <DCC>    "isMonoChrome", 'SYST', 'MACS', LONG:8, LONG:2, LONG:1
  366.  
  367.  
  368.  
  369. # Checking the number of monitors
  370. #     LONG:11--> 11 for case isNumberMonitors in resource file
  371. #     LONG:4--> 4 for greater than the compared value
  372. #     LONG:1--> compared value
  373.  
  374. <DCC>    "MultipleMonitors", 'SYST', 'MACS', LONG:11, LONG:4, LONG:1 
  375.  
  376.  
  377.  
  378. # Checking if a menu item exists,or has checked mark
  379. #
  380. #     LONG:1--> 1 for case menuItemExists in resource file
  381. #               2 for case menuItemMarked in resource file
  382. #     LONG:0--> fill in a long for fill byte
  383. #     LONG:10--> 10 for the string parameter matches the menu name
  384. #     LPSTRING--> the string parameter for comparing with menu name
  385. #     LONG--> 10 for the string parameter matches the menu item name
  386. #             8 for the string parameter contains anything
  387. #     LPSTRING--> the string parameter for comparing with menu item name
  388.  
  389. <DCC>     "IsMenuExists", 'SYST', 'MACS', LONG:1, LONG:0, LONG:10, LPSTRING, LONG:8, LPSTRING
  390. <DCC>     "IsMenuItemExists", 'SYST', 'MACS', LONG:2, LONG:0, LONG:10, LPSTRING, LONG:10, LPSTRING
  391. <DCC>     "IsMenuItemChecked", 'SYST', 'MACS', LONG:2, LONG:0, LONG:10, LPSTRING, LONG:10, LPSTRING
  392. <DCC>     "CDMenuItemExists", 'SYST', 'aucd', LONG:2, LONG:0, LONG:10, LPSTRING, LONG:10, LPSTRING
  393.  
  394.  
  395.  
  396. # Checking the processor type
  397. #
  398. #     LONG:0--> for case gestaltCheck in resource file
  399. #     OSTYOE:'proc'--> the Gestalt selector you want to use, in this case, it's 'proc'
  400. #     LONG--> 5 for less than; 7 for less than or equal to; 3 for not equal to; 2 for equal to
  401. #     SHORT:0--> fill in a short for fill byte
  402. #     LONG--> gestalt compare value
  403.  
  404. <DCC>    "CPUIs68040",  'SYST', 'MACS', LONG:0, OSTYPE:'proc', LONG:5, SHORT:0, LONG:2
  405. <DCC>    "CPU030orGreater",  'SYST', 'MACS', LONG:0, OSTYPE:'proc', LONG:6, SHORT:0, LONG:4
  406. <DCC>    "CPU68kArch",  'SYST', 'MACS', LONG:0, OSTYPE:'proc', LONG:7, SHORT:0, LONG:5
  407. <DCC>    "CPUIs68000",  'SYST', 'MACS', LONG:0, OSTYPE:'proc', LONG:3, SHORT:0, LONG:5
  408. <DCC>    "CPU1bitQD",  'SYST', 'MACS', LONG:0, OSTYPE:'qd  ', LONG:2, SHORT:0, LONG:0x000
  409.  
  410.  
  411.  
  412. # Others
  413.  
  414. <DCC>    "NetworkName", 'SYST', 'MACS', LONG:9, LONG:0, LONG:8
  415.  
  416.  
  417.  
  418. #============================================
  419. # From external code module 'File' 
  420. #============================================
  421.  
  422. # Checking if a named file is in a special type folder, for instances: 
  423. # Extensions, Apple Menu Folder, and so on
  424. #
  425. #     'FILE'--> file module
  426. #     'MACS'--> current application's signature
  427. #     LONG:9--> 9 for case isFileExists in resource file
  428. #     OSTYPE:'extn'--> specify the type of file; if it's an init indicate 'extn'; 
  429. #                      if it's a control panel indicate 'ctrl', and so on.
  430. #     LONG:0--> fill in a long for fill byte
  431. #     LPSTRING--> will be the name of the file you want to check
  432. #     example usage: InControlPanelFolder("Sharing Setup")
  433.  
  434. <DCC>    "InExtensions",  'FILE', 'MACS', LONG:9, OSTYPE:'extn', LONG:0, LPSTRING
  435. <DCC>    "InSystemFolder", 'FILE', 'MACS', LONG:9, OSTYPE:'macs', LONG:0, LPSTRING
  436. <DCC>    "InAppleMenuFolder",  'FILE', 'MACS', LONG:9, OSTYPE:'amnu', LONG:0, LPSTRING
  437. <DCC>    "InControlPanelFolder", 'FILE', 'MACS', LONG:9, OSTYPE:'ctrl', LONG:0, LPSTRING
  438. <DCC>    "AppleShareInstalled",  'FILE', 'MACS', LONG:9, OSTYPE:'extn', LONG:0, LPSTRING:"AppleShare"
  439. <DCC>    "PrintMonitorInstalled",  'FILE', 'MACS', LONG:9, OSTYPE:'extn', LONG:0, LPSTRING:"PrintMonitor"
  440. <DCC>    "GXInstalled",  'FILE', 'MACS', LONG:9, OSTYPE:'extn', LONG:0, LPSTRING:"QuickDraw™ GX"
  441. <DCC>    "RamDiskExists", 'FILE', 'MACS', LONG:9, OSTYPE:'desk', LONG:0, LPSTRING:"Ram Disk"
  442.  
  443.  
  444. #     'FILE'--> file module
  445. #     'MACS'--> current application's signature
  446. #     LONG:0--> for case isFrontStartUp in resource file
  447.  
  448. <DCC>    "BootDiskWinActive", 'FILE', 'MACS', LONG:0
  449.  
  450.  
  451.  
  452. #     'FILE'--> file module
  453. #     'MACS'--> current application's signature
  454. #      LONG:1--> for case isOpenStartUp in resource file
  455.  
  456. <DCC>    "BootDiskWinOpen", 'FILE', 'MACS', LONG:1
  457.  
  458.  
  459.  
  460. # Others
  461.  
  462. <DCC>    "ControlPanelWinActive", 'FILE', 'MACS', OSTYPE:'ctrl', LONG:0
  463. <DCC>    "SystemFolderWinActive", 'FILE', 'MACS', OSTYPE:'macs', LONG:0
  464. <DCC>    "AppleMenuWinActive",  'FILE', 'MACS', OSTYPE:'amnu', LONG:0
  465. <DCC>    "ExtensionsWinActive",  'FILE', 'MACS', OSTYPE:'extn', LONG:0
  466. <DCC>    "AppleMenuWinOpen",  'FILE', 'MACS', OSTYPE:'amnu', LONG:1
  467. <DCC>    "ExtensionsWinOpen",  'FILE', 'MACS', OSTYPE:'extn', LONG:1
  468.  
  469.  
  470.  
  471. #============================================
  472. # From external code module 'WIND' (window)
  473. #============================================
  474.  
  475. # Checking if a named window is open or active
  476. #     'WIND'--> window module
  477. #     'MACS'--> current application's signature, if do not specify 
  478. #               the signature here, you'll need to specify it in the 
  479. #               actual context check call
  480. #     LONG:-->  0 for case isFront in resource file, which means the 
  481. #                    window is the frontmost (active) one
  482. #               1 for case isOpen in resource file, which means the window is open
  483. #               3 for case isShareWindowActive
  484. #     LONG:0--> fill in a long for fill byte
  485. #     LONG:--> 10 for the window name exactly matches the string parameter
  486. #              11 for window name contains the string parameter
  487. #              8  for window name contains any string parameter
  488. #     LPSTRING--> will be the name of the window you want to check
  489. #     example usage: OpenWindow('MACS',"Sharing Setup")
  490.  
  491. <DCC>    "OpenWindow", 'WIND', , LONG:1, LONG:0, LONG:10, LPSTRING
  492. <DCC>    "OpenWindowIsInfo", 'WIND','MACS', LONG:1, LONG:0, LONG:11, LPSTRING:"Info"
  493. <DCC>    "ActiveWindow", 'WIND', , LONG:0, LONG:0, LONG:10, LPSTRING
  494. <DCC>    "ActiveWindowIsInfo", 'WIND','MACS', LONG:0, LONG:0, LONG:11, LPSTRING:"Info"
  495. <DCC>    "AnyActiveWindow", 'WIND','MACS', LONG:0, LONG:0, LONG:8
  496. <DCC>    "ActiveWindowIsSharing" , 'WIND', 'MACS', LONG:3
  497.  
  498.  
  499.  
  500. # Others
  501.  
  502. <DCC>    "FindActive", 'WIND', 'MACS', LONG:3
  503. <DCC>    "FindMoreActive", 'WIND', 'MACS', LONG:4
  504.  
  505.  
  506.  
  507. #============================================
  508. # From external code module 'CHSR' (chooser)
  509. #============================================
  510.  
  511. #     'CHSR'--> chooser module
  512. #     'MACS'--> current application's signature
  513. #     LONG:4 --> for case isPrinterType in resource file
  514. #     LONG:0--> fill in a long for fill byte
  515. #     LONG:10--> the string parameter matches the printer name
  516. #     LPSTRING --> the name of the printer you want to check
  517.  
  518. <DCC>    "SelectedPrinter", 'CHSR', 'MACS', LONG:4, LONG:0, LONG:10, LPSTRING
  519.  
  520.  
  521.  
  522. #     LONG:0 --> for case isPrinterDirect in resource file
  523.  
  524. <DCC>    "DirectConnectPrinter", 'CHSR', 'MACS', LONG:0
  525.  
  526.  
  527.  
  528. # Others
  529.  
  530. <DCC>    "AppleTalkOff", 'CHSR', 'MACS', LONG:5, LONG:0
  531. <DCC>    "NetworkPrinter", 'CHSR', 'MACS', LONG:1, LONG:6, LONG:1
  532. <DCC>    "NetworkHasZones", 'CHSR', 'MACS', LONG:9
  533. <DCC>    "NoSelectedPrinter", 'CHSR', 'MACS', LONG:4, LONG:0, LONG:9, LPSTRING
  534.  
  535.  
  536.  
  537. #============================================
  538. # From external code module 'PCSS' (process)
  539. #============================================
  540.  
  541. #     'PCSS'--> process module
  542. #     'MACS'--> pass 'MACS'
  543. #     LONG--> 0 for the specified app is active; 1 for the window(s) 
  544. #                   of the specified app is active
  545. #     OSTYPE--> pass the application's signature 
  546. #     example usage: ActiveAppIs('fndf')
  547.  
  548. <DCC>    "ActiveAppIs",'PCSS','MACS', LONG:0,OSTYPE
  549. <DCC>    "OpenAppIs",'PCSS','MACS', LONG:1,OSTYPE
  550.  
  551.  
  552.  
  553. #============================================
  554. # From external code module 'DLOG' (dialog)
  555. #============================================
  556.  
  557. <DCC>    "ActiveDialog", 'DLOG', 'MACS', LONG:0, LONG
  558. <DCC>    "AnyActiveDialog", 'DLOG', 'aucd', LONG:5
  559.  
  560.  
  561.  
  562. #============================================
  563. # From external code module 'DTPr' (desktop printer)
  564. #============================================
  565.  
  566. <DCC>    "IsThereDTPrinter", 'DTPr',FRONT
  567.  
  568.  
  569.  
  570. #============================================
  571. # From external code module 'Pddm' (PDD maker)
  572. #============================================
  573.  
  574. <DCC>    "IsItPDDMaker", 'Pddm', FRONT, PSTRING
  575.  
  576.  
  577.  
  578.  
  579.  
  580.